package cn.kai.org.mapper;

import cn.kai.basic.mapper.BaseMapper;
import cn.kai.org.domain.Employee;

/**
 * @Author Kai
 * @Date 2022/6/1 12:47
 * @PackageName:cn.kai.org.mapper
 * @ClassName: EmployeeMapper
 * @Description: employeemapper表mapper层接口
 * @Version 1.0
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    /**
     * 基于用户名查询
     * @param username
     * @return
     */
    Employee loadByUsername(String username);

    /**
     * 基于LogininfoId查询
     * @param id
     * @return
     */
    Employee loadByLogininfoId(Long id);
}
